/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package singletonlogger;

import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Achilleas
 */
public class SingletonMain {
     
    public static void main(String[] args){
        try {
            User u1 = new User("Achilleas");
            Admin a1 = new Admin("George");
			
			User u2 = new User("Costas");
            Admin a2 = new Admin("Periklis");
			User u3 = new User("Andreas");
            Admin a3 = new Admin("Ioannis");
		
            SingletonLogger.getInstance().bufferedWriter.close();
        } catch (IOException ex) {
            Logger.getLogger(SingletonMain.class.getName()).log(Level.SEVERE, null, ex);
        }
    
    }
    
}
